<template>
  <div>
    <el-table :data="userData" stripe style="width: 100%">
      <el-table-column prop="create_time" label="创建日期" width="180"></el-table-column>
      <el-table-column prop="username" label="用户名" width="180"></el-table-column>
      <el-table-column prop="mobile" label="手机号"></el-table-column>
      <el-table-column prop="role_name" label="权限"></el-table-column>
      <el-table-column prop="address" label="操作"></el-table-column>

    </el-table>
    <el-pagination background layout="prev, pager, next" :total="total"></el-pagination>

  </div>
</template>

<script>
export default {
  props: ['total','userData'],
  data() {
    return {
    };
  },
  computed: {},
  created() {},
  mounted() {
    console.log()
  },
  watch: {},
  methods: {},
  components: {}
};
</script >

<style scoped lang='less'>
.el-pagination{
    position: relative;
    bottom: -20px;
    right: 0;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
</style>